package com.todo.biz.iface.backend.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/5 13:24
 * @description
 */
@Data
@Schema(title = "启禁用入参", description = "启禁用入参")
public class EnableCollectSetByIdReq {

    private CurrentStaff _staff;

    /**
     * 主键id
     */
    @Schema(title = "主键id", description = "主键id")
    private Long id;

    /**
     * 是否启用
     */
    @Schema(title = "是否启用", description = "是否启用")
    private Boolean enable;

    public boolean baseCheck() {
        if (id == null || enable == null) {
            return false;
        }
        return true;
    }
}
